package cc.mrbird.febs.moive.service.impl;

import cc.mrbird.febs.moive.domain.DataAll;
import cc.mrbird.febs.moive.dao.DataAllMapper;
import cc.mrbird.febs.moive.service.DataAllService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service("dataAllService")
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class DataAllServiceImpl extends ServiceImpl<DataAllMapper, DataAll> implements  DataAllService {
    @Override
    public List<DataAll> getData(String name) {
       return  baseMapper.getData(name);
    }
}
